package com.teach.service.shop;

import com.github.pagehelper.PageInfo;
import com.teach.dto.ProductSearch;
import com.teach.entity.Product;

public interface ShopAdminServlet {
	/**
	 * 根据条件搜索商品的分页数据
	 * @param search
	 * @return
	 */
	PageInfo<Product> page(ProductSearch search);

	void modify(Product product);

	void doDelete(Product product);

	void doProductClass(Product product);

	Product doModifyProduct(Long productId);
}
